package com.applet.common.vo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author “XuShao”
 * @date 2024/12/16 19:44
 * @description
 */

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class UserLoginVO implements Serializable {

    private String id;

    private String name;

    private Integer gender;

    private String class1;

    private String studentNumber;

    private String phone;

    // 权限,0：普通志愿者，1：志愿者管理员
    private Integer jurisdiction;

    // 用户状态：0：正常，1：删除
    private Integer deleted;

    @JsonIgnore // 不向前端返回
    private String openid;

    private String token;
}
